<template>
    <div class="xq">
        <Xqson v-for="(v,i) in arr" :key="i" :img0="v.img0" :ptitle="v.ptitle" :ptxt="v.ptxt" :price="v.price" :label1="v.label1" 
        :label2="v.label2" :favoCount="v.favoCount" :jifen="v.jifen" :pingzhi="v.pingzhi" :zhengping="v.zhengping" :bu="v.bu" :guige="v.guige" :cm="v.cm" 
        :img1="v.img1" :come="v.come" :chengnuo="v.chengnuo" :black="v.black" :txt="v.txt" :peisong="v.peisong" :chengshi="v.chengshi" :pingjia="v.pingjia" :pingfen="v.pingfen"  
        :num="v.num" :chakan="v.chakan" :tuwen="v.tuwen" :imga="v.imga" :imgb="v.imgb" :imgc="v.imgc" :imgd="v.imgd" :imge="v.imge" :imgf="v.imgf" :imgg="v.imgg" :imgh="v.imgh"/>
    </div>
</template>

<script>
import Xqson from "@/components/ddgHD/xqson.vue"
import {getlink} from "@/api/getapi.js"
export default {
     data(){
         return {
           arr:[]
         }
     },
     components:{
         Xqson
     },
     mounted(){
         getlink("/data/ddg").then((ok)=>{
             this.arr=ok.data.xiangqing
             console.log(ok.data.xiangqing)
         })
     }
}
</script>

<style scoped>
    .xq{
        width: 100%;
        font-size: 0.12rem;
    }
    
</style>